import axiosInstance from "@/utils/request"
const proxyStrOne = '/ycy'

export default {
  login: data => {
    return axiosInstance({
        url: proxyStrOne + '/user/login',
        method: 'post',
        data
    })
  },
  //对象再包裹
  warn: {
    list: data => {
      return axiosInstance({
        url: proxyStrOne + 'warning/getNotify',
        method: 'post',
        data
      })
    }
  },
  case: {
    detail: data => {
      return axiosInstance({
        url: proxyStrOne + '/qb/info',
        method: 'post',
        data
     })
    }
  }
}